'use strict';

        // 设置边框尺寸
        var width = $(window).width();
        var height = $(window).height();

        $('.yc_layout').css('width',width);
        $('.yc_layout').css('height',height);


          // 轮播图部分
         $(function () {
            var _window = window;
            var document = _window.document;
            var navigator = _window.navigator;
            var location = _window.location;
            var $ = _window.jQuery;

            // 初始化轮播图

            $('.slides').slidesjs({
                navigation: {
                    active: false
                },
                pagination: {
                    active: false
                },
                play: {
                    active: false,
                    interval: 3000,
                    auto: true
                },
                effect: {
                    slide: {
                        speed: 1000
                    }
                }
            });
                
        });